package cz.mff.curreco.tapestry.base;

import org.apache.tapestry5.annotations.SessionState;
import org.apache.tapestry5.ioc.Messages;
import org.apache.tapestry5.ioc.annotations.Inject;

import cz.mff.curreco.model.SessionObject;

public class Base {

	@SessionState(create = false)
	private SessionObject session;

	@Inject
	private Messages messages;
	
	//----- GETTERS/SETTERS ----------------------------------------------------------

	public Messages getMessages() {
		return messages;
	}

	public void setMessages(Messages messages) {
		this.messages = messages;
	}

	public SessionObject getSessionObject() {
		return session;
	}

	public void setSessionObject(SessionObject session) {
		this.session = session;
	}

	//--------------------------------------------------------------------------------
	
}
